package org.gw.building.repositories.dkgg;

import org.gw.building.model.Kcxx;
import org.gw.building.model.Kqy;
import org.gw.building.model.Qcxx;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface QcxxRepository extends JpaRepository<Qcxx, String>{
	@Query("from Qcxx t where t.sfqy = 1 order by t.jssj desc")
	Page<Qcxx> queryPage(Pageable pageable);
}
